package com.controller.qsl;

import com.bean.qsl.BxInfo;
import com.dao.qsl.BxFyChaXun;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

@Controller
public class GetFxBx {
      @Autowired
      private BxFyChaXun b;

      @RequestMapping("/QslPage/baoxiufy")
      @ResponseBody
      public List<BxInfo> bxcx(int page, HttpServletRequest request){
	  return b.fy(page,request);
      }
}
